

.anination {
    border: 1px solid black;
    display: flex;
    overflow: hidden;
    width: 260px;

}

/* 包裹图片的div */
.text {
    border: 1px solid red;
    display: flex;
    width: 260px;
    animation: move 4s linear 0s infinite normal
}

/* 定义图片宽度 */
.text img {
    width: 260px;
    height: 140px;
}



/* 定义动画 */
@keyframes move{
    from{
        margin-left: 0;
    }
    to{
        margin-left: -600px;
    }
}